package abc.base;


import com.alibaba.excel.annotation.ExcelIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;


@Data
@Schema(name = "BaseEntity")
public abstract class BaseEntity<T> {
    /***
     * 表ID
     */
    @Schema(name = "id", description = "表ID")
    @JsonSerialize(using = ToStringSerializer.class)
    @ExcelIgnore
    private Long id;
}
